/*
 * QCalParseEventDetailsXML.h
 *
 *  Created on: Aug 19, 2010
 *      Author: deroy2
 */

#ifndef QCALPARSEEVENTDETAILSXML_H_
#define QCALPARSEEVENTDETAILSXML_H_

#include <QXmlStreamReader>
#include <QFile>
#include <QtGui>
#include <QMessageBox>
#include "eventdetails.h"

class QCalParseEventDetailsXML 
 {
 public:
	QCalParseEventDetailsXML();
	 ~QCalParseEventDetailsXML();
	 
	 void parseXML(QFile& aFile);
	 void getEventInfo(QXmlStreamReader& xml);
	 void getElements(QXmlStreamReader& xml) ;
	 QVector<eventDetail> geteventDetailsArray();

 
 private:


	 QString title;
	 QString content;
	 QString where;
	 QString whenEnd;
	 QString whenStart;
	 QVector<QString> titleArray;
	 QVector<QString> contentArray;
	 QVector<QString> whereArray;
	 QVector<QString> whenEndArray;
	 QVector<QString> whenStartArray;
	 QVector<eventDetail> eventDetailsArray;

 };



#endif /* QCALPARSEEVENTDETAILSXML_H_ */
